home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
programming
/
other
/
gui4cli
/
tools
/
rexx
/
g4c.rexx
Wrap
OS/2 REXX Batch file
|
1999-04-29
|
406b
|
22 lines
/* Rexx script to talk to Gui4Cli */
/* Run this script from a shell by writting RX G4C */
/* You can then write commands to Gui4Cli - <Ctrl-C> exits */
address 'Gui4Cli'
options results
signal on BREAK_C
do forever
say "G4C>"
pull command
interpret command
if RC = 0 then say "OK"
else say "Command returned: " RC
if result ~= "RESULT" then say result
drop result
end
BREAK_C:
exit